package com.fzn1.day02.double_;

/**
 * @program: DataStructure
 * 描述：
 * @author: fzn
 * @create: 2022-11-13 20:39
 **/
public class Asserts {
    public static void test(boolean value) {
        try {
            if (!value) throw new Exception("测试未通过");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}